/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.checkFlow.model;

import com.yunhoo.sys.util.common.LoginParam;
import java.io.Serializable;

/**
 *
 * @author Administrator
 */
public class Node  implements Serializable {

    private int line = 0;//行号
    private String id = "";//节点编码
    private String name = "";//节点名称
    private boolean isEnd = false;//是否是末级
    //private List<Auth> auth;//操作权限
    private boolean isCheck = false;
    //private Employee emp = new Employee();//直接负责人
    private String url = "";//页面
    private String orgCode = "";
    
    public Node(){
        orgCode = LoginParam.getOrg().getCode();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isIsEnd() {
        return isEnd;
    }

    public void setIsEnd(boolean isEnd) {
        this.isEnd = isEnd;
    }

//    public List<Auth> getAuth() {
//        return auth;
//    }
//
//    public void setAuth(List<Auth> auth) {
//        this.auth = auth;
//    }

    public boolean isIsCheck() {
        return isCheck;
    }

    public void setIsCheck(boolean isCheck) {
        this.isCheck = isCheck;
    }

//    public Employee getEmp() {
//        return emp;
//    }
//
//    public void setEmp(Employee emp) {
//        this.emp = emp;
//    }

    public int getLine() {
        return line;
    }

    public void setLine(int line) {
        this.line = line;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }    
}
